package org.crazyit.activiti_d1._1_CrateDefault;

import org.activiti.engine.ProcessEngineConfiguration;

public class CreateDefault {

    public static void main(String[] args) {

        //1. 使用Activiti 默认的方式创建ProcessEngineConfiguration
        /* 注意点:
            1) Activiti 默认到ClassPath 下读取activiti.cfg.xml 文件
            2) 如果找不到该配置文件, 则抛出FileNotFoundException
            3) 如果找不到名称为processEngineConfiguration 的bean, 则抛出org.springframework.beans.factory.NoSuchBeanDefinitionException
         */
        ProcessEngineConfiguration config = ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault();

    }

}
